package com.ruoyi.tianliangedu.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 子类章节对象 tianliang_son_section
 *
 * @author lsj
 * @date 2021-07-12
 */
public class TianliangSonSection extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 子章节id
     */
    private Long sonSectionId;

    /**
     * 子章节名称
     */
    @Excel(name = "子章节名称")
    private String sonSectionName;

    /**
     * 子章节视频
     */
    @Excel(name = "子章节视频")
    private String sonSectionVideo;

    /**
     * 是否允许试看 0允许 1不允许
     */
    @Excel(name = "是否允许试看 0允许 1不允许")
    private Long sonSectionShow;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String sonSectionText;

    /**
     * 父子章节关联
     */
    @Excel(name = "父子章节关联")
    private String sonFatherSection;

    public Long getSonSectionId() {
        return sonSectionId;
    }

    public void setSonSectionId(Long sonSectionId) {
        this.sonSectionId = sonSectionId;
    }

    public String getSonSectionName() {
        return sonSectionName;
    }

    public void setSonSectionName(String sonSectionName) {
        this.sonSectionName = sonSectionName;
    }

    public String getSonSectionVideo() {
        return sonSectionVideo;
    }

    public void setSonSectionVideo(String sonSectionVideo) {
        this.sonSectionVideo = sonSectionVideo;
    }

    public Long getSonSectionShow() {
        return sonSectionShow;
    }

    public void setSonSectionShow(Long sonSectionShow) {
        this.sonSectionShow = sonSectionShow;
    }

    public String getSonSectionText() {
        return sonSectionText;
    }

    public void setSonSectionText(String sonSectionText) {
        this.sonSectionText = sonSectionText;
    }

    public String getSonFatherSection() {
        return sonFatherSection;
    }

    public void setSonFatherSection(String sonFatherSection) {
        this.sonFatherSection = sonFatherSection;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("sonSectionId", getSonSectionId())
                .append("sonSectionName", getSonSectionName())
                .append("sonSectionVideo", getSonSectionVideo())
                .append("sonSectionShow", getSonSectionShow())
                .append("sonSectionText", getSonSectionText())
                .append("sonFatherSection", getSonFatherSection())
                .toString();
    }
}
